package com.ctshk.common.enums;

/**
 * <p>
 * 订单退款状态枚举(流程)
 * </p>
 *
 * @author 胡广
 * @since 2021/2/26
 */
public enum OrderRefundStatus {
    AUDITING(1, "审批中"),
    AUDIT_SUCCESSFUL(2, "审批通过"),
    AUDIT_FAILED(3, "审批不通过"),
    REFUND_SUCCESSFUL(4, "退款成功");

    private Integer code;
    private String name;

    OrderRefundStatus(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
